How to Increment and Decrement Counter on Button Click in Javascript